package com.cn.wanxi.util.dao.impl;

import com.cn.wanxi.util.dao.IBannerDao;
import com.cn.wanxi.util.model.BannerModel;

import java.util.ArrayList;
import java.util.List;

public class BannerDao  implements IBannerDao {
    @Override
    public List<BannerModel> banner() {
        List<BannerModel> bannerModels = new ArrayList<>();
        BannerModel banner1 = new BannerModel("/img/c.jpg","/CourseElementaryServlet");
        BannerModel banner2 = new BannerModel("../img/a_jfcz.jpg","//CourseElementaryServlet");
        BannerModel banner3 = new BannerModel("/img/e.jpg","/CourseElementaryServlet");
        BannerModel banner4 = new BannerModel("/img/a_jfcz.jpg","/CourseElementaryServlet");
        BannerModel banner5 = new BannerModel("/img/a_jfcz.jpg","/CourseElementaryServlet");
        BannerModel banner6 = new BannerModel("/img/f.jpg","/CourseElementaryServlet");
        BannerModel banner7 = new BannerModel("/img/d.jpg","/CourseElementaryServlet");
        bannerModels.add(banner1);
        bannerModels.add(banner2);
        bannerModels.add(banner3);
        bannerModels.add(banner4);
        bannerModels.add(banner5);
        bannerModels.add(banner6);
        bannerModels.add(banner7);
        return bannerModels;
    }
}
